home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995…tember: Reference Library / Dev.CD Sep 95 RL / Dev.CD Sep 95 RL.toast / mac / Technical Documentation / develop / develop Issue 17 code / PwrPC Debugging / CrashOMatic / CrashOMatic.make < prev    next >
Encoding:
Text File  |  1993-12-01  |  1.1 KB  |  42 lines  |  [TEXT/MPS ]

  1. #
  2. #    Apple Macintosh Developer Technical Support
  3. #
  4. #    MultiFinder-Aware Simple Sample Application
  5. #
  6. #    Sample
  7. #
  8. #    CrashOMatic.make    -    Make Source
  9. #
  10. #    Copyright © 1989-93 Apple Computer, Inc.
  11. #
  12.  
  13. ObjDir         =    :Objects:
  14. SrcDir         =    :
  15.  
  16. CObjs        =    {ObjDir}CrashOMatic.c.o 
  17.  
  18. COMPILE     =    PPCC -sym on -w conformance -appleext on
  19. PEFOPTIONS     =    -ft 'APPL' -fc 'MOOS'
  20. LIBEQUATES     =    -l InterfaceLib.xcoff=InterfaceLib -l StdCLib.xcoff=StdCLib -l MathLib.xcoff=MathLib
  21.  
  22. CrashOMatic        ƒƒ {CObjs} CrashOMatic.make
  23.     PPCLink -warn -sym on ∂
  24.             {CObjs} ∂
  25.             "{PPCLibraries}"InterfaceLib.xcoff ∂
  26.             "{PPCLibraries}"StdCLib.xcoff ∂
  27.             "{PPCLibraries}"MathLib.xcoff ∂
  28.             "{PPCLibraries}"StdCRuntime.o ∂
  29.             "{PPCLibraries}"PPCCRuntime.o ∂
  30.             -o {ObjDir}{Targ}.xcoff
  31.     makepef {ObjDir}{Targ}.xcoff -o {Targ} {LIBEQUATES} {PEFOPTIONS}    # create pef executable
  32.     makesym -o {Targ}.SYM {ObjDir}{Targ}.xcoff
  33.     SetFile {Targ} -t APPL -c 'MOOS' -a B
  34.  
  35. CrashOMatic        ƒƒ CrashOMatic.r CrashOMatic.h CrashOMatic.make
  36.         Rez -a -rd -o {Targ} CrashOMatic.r -append
  37.         
  38. {ObjDir}CrashOMatic.c.o    ƒƒ CrashOMatic.c CrashOMatic.make CrashOMatic.h
  39.     {COMPILE} CrashOMatic.c -o {ObjDir}CrashOMatic.c.o
  40.     
  41. {ObjDir} ƒ    {SrcDir}
  42.